package com.xius.common;

import cn.hutool.setting.Setting;
import cn.hutool.setting.SettingUtil;

/**
 * 读取resource的配置全局使用
 */
public class Configs {
    public static final byte[] DES_KEY = { 21, 1, -110, 82, -32, -85, -128, -65 };

    public static Setting get(){

        return SettingUtil.get("properties/config.properties");
        //System.out.println(setting);
        // String s = setting.get("open.url");
        //System.out.println(s);
    }
    public static Setting getMailTemplate(){
        return SettingUtil.get("config/mailTemplate.setting");
    }
}
